github.com/gotd/td/internal/mtproto/salts.Salts.salts (field)

18 uses

	github.com/gotd/td/internal/mtproto/salts (current package)
		salts.go#L15: 	salts    []mt.FutureSalt
		salts.go#L25: 	if len(s.salts) < 1 {
		salts.go#L30: 	if salt := s.salts[len(s.salts)-1]; salt.ValidUntil > date {
		salts.go#L37: 	for _, salt := range s.salts {
		salts.go#L41: 			s.salts[n] = salt
		salts.go#L45: 	s.salts = s.salts[:n]
		salts.go#L68: 	s.salts = append(s.salts, salts...)
		salts.go#L71: 	dedup := make(map[int64]struct{}, len(s.salts)+1)
		salts.go#L72: 	for _, salt := range s.salts {
		salts.go#L75: 			s.salts[n] = salt
		salts.go#L79: 	s.salts = s.salts[:n]
		salts.go#L82: 	sort.Sort(saltSlice(s.salts))
		salts.go#L88: 	s.salts = s.salts[:0]